package com.yc.sole.system.request;

import com.yc.sole.framework.validate.UpdateGroup;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

/**
 * @author yizuomin
 * @date 2024/3/21 14:47
 **/
@Data
public class RoleMenuReq {

    /**
     * id
     */
    @NotNull(groups = {UpdateGroup.class})
    private Long id;
    /**
     * 菜单id
     */
    @NotEmpty(groups = {UpdateGroup.class})
    private List<Long> menuIds;
}
